{include file="file:$theme_global/admin/_header.tpl" context_nav="$theme_global/admin/_role-manage-nav.tpl" current="users"}
<div class="box">
	<h1>Manage <span class="white">Roles</span></h1>
	{if count($roles) gt 0}
		<table>
			<tr>
				<th>Role</th>
				<th>Actions</th>
			</tr>
			{foreach from=$roles item=role key=index}
				<tr class="row-{if $index mod 2 eq 0}a{else}b{/if}">
					<td>{$role.shortname}</td>
					<td>
						<a href="/resource/edit/id/{$role.id}">Resource Permissions</a>
						| <a href="/navigation/editrole/id/{$role.id}">Customize Navigation</a>
					</td>
				</tr>
			{/foreach}
		</table>
	{/if}
</div>
{include file="file:$theme_global/admin/_footer.tpl"}
